/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.alag.ci.tagcloud.impl;

/**
 *
 * @author Justina Chen <rcfans.163.com>
 */
public class LogFontSizeComputationStrategy extends FontSizeComputationStrategyImpl {

    public LogFontSizeComputationStrategy(int numSizes, String fontPrefix) {
        super(numSizes, fontPrefix);
    }

    @Override
    protected double scaleCount(Double maxCount) {
        return Math.log10(maxCount);
    }
}
